package appapi.service;

import appapi.Request.ProjPageReq;
import appapi.Request.ProjReq;
import appapi.dto.AddProjectDto;
import appapi.dto.UpdateProjectDto;
import appapi.entity.Zhongjiao.ExcelProjectDto;
import appapi.entity.Zhongjiao.ProjectDto;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author djq
 * @date 2023/5/11 16:36
 * @description:
 */
@Repository
public interface IProjectService {
    int InsertProject(AddProjectDto dto);

    int UpdateProject(UpdateProjectDto dto);

    int DelProject(Long projId);

    List<Map<String, Object>> SelectProjectPage(ProjPageReq dto);

    List<Map<String, Object>> getProjectList(ProjReq dto);

    Map<String, Object> SelectProjectDetail(Long projId);

    List<ExcelProjectDto> getList(ProjPageReq req);
}
